/*
 * Vacina.java
 *
 * Created on October 12, 2007, 10:46 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package petstore.model;

import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Entity class Vacina
 * 
 * @author Tom Hayden
 */
@Entity
@Table(name = "vacina")
@AttributeOverrides( {
    @AttributeOverride(name="id", column=@Column(name="cdvacina")),
    @AttributeOverride(name="description", column=@Column(name="dsvacina")),
    @AttributeOverride(name="active", column=@Column(name="ativo"))
})
public class Vacina extends CodeData {

    @Column(name = "qtddiasrevacinacao")
    private Short quantidadeDiasRevacinacao;

    @Column(name = "nrdoses")
    private Short numeroDoses;

    /** Creates a new instance of Vacina */
    public Vacina() {
    }

    public Short getQuantidadeDiasRevacinacao() {
        return quantidadeDiasRevacinacao;
    }

    public void setQuantidadeDiasRevacinacao(Short quantidadeDiasRevacinacao) {
        this.quantidadeDiasRevacinacao = quantidadeDiasRevacinacao;
    }

    public Short getNumeroDoses() {
        return numeroDoses;
    }

    public void setNumeroDoses(Short numeroDoses) {
        this.numeroDoses = numeroDoses;
    }

}
